{
    xtype:'taskForm',
    title:'Vacation approval',
    width:400,
    formConfig:{
    	formId:'package',
        labelWidth:140,
        items:[ {
                xtype:'box',
                html :  '<div class="x-form-item">' + 
                		'<div>${data.package.employeeName} would like to take ${data.package.numberOfDays} day(s) of vacation.</div>' +
                        '<div>Motivation: ${data.package.vacationMotivation}</div>' +
                        '</div>'
            }, {
                xtype : 'combo',
                fieldLabel : 'Do you approve this',
                name : 'vacationApproved',
                hiddenName : 'vacationApproved',
                displayField : 'name',
                valueField : 'id',
                mode: 'local',
                triggerAction: 'all',
                store:{
                    xtype:'jsonstore',
                    fields : [ 'id', 'name' ],
                    data : [ {
                        'id' : 'true',
                        'name' : 'Yes'
                    }, {
                        'id' : 'false',
                        'name' : 'No'
                    } ]
                }
            }, {
                xtype: 'textarea',
                fieldLabel: 'Motivation',
                name:'managerMotivation'
              }
        ]
    }
}
